#ifndef __VALUE_H
#define __VALUE_H

typedef enum {
	VALUE_TYPE_NIL = 0,
	VALUE_TYPE_INT,
	VALUE_TYPE_DBL,
	VALUE_TYPE_STR
} cconf_value_type_t;

typedef struct cconf_value_s {
	cconf_value_type_t type;
	char * s;
} cconf_value_t;


cconf_value_t * cconf_value_alloc(void);
void cconf_value_free(void * value);

char * cconf_value_to_str(cconf_value_t * v);

#endif
